package com.comall.dc.banktest.infrastructure.dao.service;

import com.comall.dc.banktest.domain.model.AccountRecord;
import com.comall.dc.banktest.infrastructure.entity.AccountRecordPO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 转账记录 服务类
 * </p>
 *
 * @author GodMeowIceSun
 * @since 2021-11-02
 */
public interface AccountRecordDAO extends IService<AccountRecordPO> {

    List<AccountRecordPO> listByIdAndTimeRange(
            Integer id, LocalDateTime beginTime, LocalDateTime endTime);

    AccountRecord save(AccountRecord accountRecord);
}
